package com.lucy.chat.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;

@Data
@ApiModel(value = "图片参数")
public class ImageDTO {
    @NotBlank(message = "图像描述不可为空")
    @ApiModelProperty(value = "描述")
    private String tips;

    @Min(1)
    @ApiModelProperty(value = "绘制结果数",example = "2")
    private Integer n = 1;


    public String getTips() {
        return tips;
    }

    public void setTips(String tips) {
        this.tips = tips;
    }

    public Integer getN() {
        return n;
    }

    public void setN(Integer n) {
        this.n = n;
    }
}
